﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Basic.Part2.Configuration
{
    /// <summary>
    /// ITypeCreator 的配置解析类
    /// </summary>
    class ObjectBuilderConfigurationSource : ConfigurationSection
    {
        private const string typeProperty = "type";

        [ConfigurationProperty(typeProperty, IsRequired = true)]
        public string TypeName
        {
            get { return (string)this[typeProperty]; }
        }
    }
}
